<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Games</title>
    <link rel="stylesheet" href="./init.css">
    <script src="./util.js"></script>
    <script src="./web_component/timer/index.js"></script>
    <script src="./web_component/header/index.js"></script>
    <style>
        /* common class */
        .ctr {
            text-align: center;
        }

        /* img {
            width: 100%;
            height: 100%;
        } */
        .container {
            width: 600px;
            margin: 30px auto;
        }

        .card {
            color: #4b4b4b;
            margin-bottom: 15px;
            display: block;
            background-color: rgb(255, 255, 255);
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 0 10px 0 rgba(0, 0, 0, .4);
            transition: all .3s ease;
            padding-bottom: 15px;
        }

        .card:hover {
            box-shadow: 0 0 30px 0 rgba(0, 0, 0, .4);
            transform: translateZ(40px) scale(1.05);
        }

        .card .title {
            font-size: 25px;
            padding-left: 15px;
            font-weight: bold;
        }

        .card .time {
            font-size: 14px;
            padding-left: 15px;
            color: #999;
        }

        .card:nth-child(1) {
            animation: head-show .6s ease;
        }

        .card:nth-child(2) {
            animation: head-show .8s ease;
        }
    </style>
</head>

<body>
    <x-header></x-header>
    <div class="container">
        <a class="card" href="./demos/hrd.html">
            <div class="img">
                <img src="./images/hrd.PNG" width="100%" height="100" alt="">
            </div>
            <p class="title">数字华容道</p>
            <p class="time">2020/12/1</p>
        </a>
        <a class="card" href="./demos/Graffiti/index.html">
            <div class="img">
                <img src="./images/graph.PNG" width="100%" height="100" alt="">
            </div>
            <p class="title">涂鸦板</p>
            <p class="time">2020/12/2</p>
        </a>
    </div>

</body>

</html>